/*
 * Servo_Driver.h
 *
 *  Created on: Mar 5, 2024
 *      Author: DengZicheng
 */

#ifndef SERVO_DRIVER_H_
#define SERVO_DRIVER_H_

#include "main.h"
#include <stdint.h>


extern TIM_HandleTypeDef htim3;
extern int now_degree;
void init_servo();
void servo_degree_contrll(int degree);
int get_servo_degree();

#endif /* SERVO_DRIVER_H_ */
